<%@ page session="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="disp" uri="http://displaytag.sf.net" %>
<%@ page isELIgnored="false" %>

<%@page import="java.util.Date;"%>
<html>
    <head>
        
        <title>List Authors Page</title>
    </head>
    <body>
        <h2>Hello World234!</h2>
       
         <table>
            <tr><th>id</th><th>name</th><th>surname</th></tr>
            
            <c:forEach var="author" items="${authors}">
            
                <tr>
                        <td><a href="authorDetails.htm?authorId=<c:out value='${author.id}'/>"><c:out value="${author.id}"/></a></td>
                        <td><c:out value="${author.name}"/></td>
                        <td><c:out value="${author.surname}"/></td>
                </tr>
                
            </c:forEach> 
        </table>

	
	
    </body>
</html>
